package ListDemo.demo3;

public class PosCat extends Cat{
    public PosCat(){
        super();
    }
    public PosCat(String name,int age){
        super(name, age);
    }
    public void eat(){
        System.out.println("一只叫" + this.getName() + "的," + this.getAge() + "岁的波斯猫正在吃小饼干");
    }
}
